package com.java2001.mapper;


import com.java2001.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserMapper {


    int insertUser(User user);

    int deleteUser(String username);

    int updateUserById(User user);

    User queryUserById(String username);

    List<User> queryUserList();
}
